package com.ruoyi.basic.service;

import java.util.List;

import com.ruoyi.basic.domain.BasicPositional;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 职称聘任Service接口
 * 
 * @author ruoyi
 * @date 2021-12-23
 */
public interface IBasicPositionalService extends IService<BasicPositional>
{
    /**
     * 查询职称聘任
     * 
     * @param positionalId 职称聘任主键
     * @return 职称聘任
     */
    public BasicPositional selectBasicPositionalByPositionalId(Long positionalId);

    /**
     * 查询职称聘任
     *
     * @param positionalIds 职称聘任主键
     * @return 职称聘任
     */
    public List<BasicPositional> selectBasicPositionalByPositionalIds(String positionalIds);

    /**
     * 查询职称聘任列表
     * 
     * @param basicPositional 职称聘任
     * @return 职称聘任集合
     */
    public List<BasicPositional> selectBasicPositionalList(BasicPositional basicPositional);

    /**
     * 新增职称聘任
     * 
     * @param basicPositional 职称聘任
     * @return 结果
     */
    public int insertBasicPositional(BasicPositional basicPositional);

    /**
     * 修改职称聘任
     * 
     * @param basicPositional 职称聘任
     * @return 结果
     */
    public int updateBasicPositional(BasicPositional basicPositional);

    /**
     * 批量删除职称聘任
     * 
     * @param positionalIds 需要删除的职称聘任主键集合
     * @return 结果
     */
    public int deleteBasicPositionalByPositionalIds(String positionalIds);

    /**
     * 删除职称聘任信息
     * 
     * @param positionalId 职称聘任主键
     * @return 结果
     */
    public int deleteBasicPositionalByPositionalId(Long positionalId);

    /**
     * 导入职称聘任
     *
     * @param positionalList 职称聘任列表
     * @param operName 操作用户
     * @return 结果
     */
    public String importPositional(List<BasicPositional> positionalList, Boolean isUpdateSupport, String operName);

    /**
     * 检查职称聘任等级唯一性
     * @param basicPositional
     * @return
     */
    public String checkPositionalUnique(BasicPositional basicPositional);
}
